package cn.iocoder.yudao.module.todo.controller.admin.tasks.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 待办任务分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TasksPageReqVO extends PageParam {

    @Schema(description = "业务系统侧的唯一标识ID，即业务ID", example = "30561")
    private String sourceId;

    @Schema(description = "分组", example = "8494")
    private String groupId;

    @Schema(description = "业务系统标识，固定值", example = "31569")
    private String systemId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "描述", example = "你猜")
    private String description;

    @Schema(description = "详细url", example = "https://www.iocoder.cn")
    private String detailUrl;

    @Schema(description = "任务状态", example = "1")
    private String status;

    @Schema(description = "优先级")
    private String priority;

    @Schema(description = "到期时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] dueTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}